function paijian(){
	window.location.href="../myhtml/paijian.html";
}

window.onload=function(){
	setbutton_listenner();
}

function setbutton_listenner(){
	var mybuttons = document.getElementsByClassName("mybutton");
	for (var i = 0; i < mybuttons.length; i++) {
		funny(i);
	}
}

var funny = function(i) {
	var mybuttons = document.getElementsByClassName("mybutton");
//		var item_list = document.getElementsByClassName("daipeisong");
//		var item_list = $(".daipeisong");
//		var kongbai_list = document.getElementsByClassName("kongbai");
		mybuttons[i].onclick = function() {
			$(".daipeisong").eq(i).remove();
			$(".kongbai").eq(i).remove();
//			kongbai_list[i].remove();
			setbutton_listenner();
		}
	}
